<template>
  <div>
    <van-cell :title="apianuser.info_list[2].name" icon="bulb-o" is-link @click="showPopup" />
    <van-popup v-model="show" position="right" :style="{ height: '100%',width:'100%' }">
      <van-nav-bar title="消息" left-text="返回" @click-left="onClickLeft" left-arrow :style="rgba[0]" />
      <div class="no_data">
        <p>暂无数据</p>
      </div>
    </van-popup>
  </div>
</template>

<script>
export default {
  name: "popupthr",
  props: {
    // num:Number
  },
  data() {
    return {
      show: false,
      apianuser: {},
      rgba: {}
    };
  },
  created() {
    this.apianuser = JSON.parse(localStorage.getItem("swidata") || []);
  },
  mounted() {
    this.rgba = JSON.parse(localStorage.getItem("bakcColor"));
  },
  computed: {
  },
  methods: {
    showPopup() {
      this.show = true;
    },
    onClickLeft() {
      this.show = false;
    }
  }
};
</script>

<style lang="scss" scoped>
@import "@/style/user/popupthr.scss";
</style>